package cn.tedu

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.netflix.eureka.EnableEurekaClient
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.SpringApplication

@SpringBootApplication
@EnableEurekaClient
@MapperScan(Array("cn.tedu.product.mapper"))
class StartProductService {}
object ProductService {
  def main(args: Array[String]) { SpringApplication.run(classOf[StartProductService]) }
}